 function gaia_setFocus() {
		  var f = null;
		  if (document.getElementById) {
		  	f = document.getElementById('gaia_loginform');
		  }
		  if (f) {
		  	if (f.Email && (f.Email.value == null || f.Email.value == '')) {
		  		f.Email.focus();
		  } else if (f.Passwd) {
		  		f.Passwd.focus();
		  }
		  }
		  }
		  window.onload = gaia_setFocus;
		  function gaia_onLoginSubmit() {
			  if (window.gaiacb_onLoginSubmit) {
				  return gaiacb_onLoginSubmit();
			  } else {
				  return true;
			  }
	  }